class AddEmailToUser < ActiveRecord::Migration
  def change
    add_column :users, :email, :string,  :limit => 100
    add_column :users, :user_key, :string,  :limit => 100
    add_index :users, :user_key, unique: true
    add_index :users, :email, unique: true
    add_index :users, :phone, unique: true
  end
end
